//
//  LeYouView.h
//  LeYou_demo
//
//  Created by naffan on 12-11-18.
//  Copyright (c) 2012年 naffan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LYLogin.h"
#import "LYDb.h"
#import "LYFill.h"

#import "ViewController.h"

@interface LeYouView : UIView<UIWebViewDelegate,UIVideoEditorControllerDelegate>
{
    UILabel* titleLabel;
    UILabel* label1;
    UILabel* label2;
    UILabel* label3;
    UITextField* accountField;
    UITextField* passwdField;
    UITextField* passwdField_again;
    UIButton* btn_login;
    UIButton* btn_register;
    UIButton* btn_findpassword;
    UIButton* btn_logout;
    UIButton* btn_cancel;
    UIButton* btn_fill;
    UIButton* btn_fillrecord;
    UIButton *closeButton;
    
    UIAlertView* alert;
    NSUserDefaults* userDefault;
    LYLogin* lylogin;
    LYDb* lydb;
    LYFill* lyfill;
}

- (id)initWithFrame:(CGRect)frame;
- (id)init;
-(void)buttonReleaseForLogout:(id)sender;
-(void)buttonReleaseForRegister:(id)sender;
-(void)buttonReleaseForFill:(id)sender;
-(void)buttonReleaseForLogin:(id)sender;
-(void)buttonReleaseForRegisterSubmit:(id)sender;
-(void)buttonReleaseForCancel:(id)sender;
-(void)buttonReleaseForFindPassword:(id)sender;

- (void)showRegisterPage;
- (void)showLoginPage;

@end